﻿using System.IO;
using System.Text;

namespace Karma.Framework.Core.Services.Infrastructure
{
    public interface IEmailService
    {
        bool SendEmail(string from, string[] to, string subject, string message,
            Encoding encoding, bool isBodyHtml);

        bool SendEmail(string from, string[] to, string subject, string message,
            Encoding encoding, bool isBodyHtml, string[] attatchments, string[] mediaTypes);

        bool SendEmail(string from, string[] to, string subject, string message,
            Encoding encoding, bool isBodyHtml, Stream[] attatchments, string[] mediaTypes);
    }
}
